import Layout from '@/layout'

export default {
    path: '/shop',
    component: Layout,
    redirect: '/shop/index',
    name: 'shop',
    meta: {
        title: '商品管理',
        icon: 'sidebar-menu'
    },
    children: [
        {
            path: 'shop',
            name: 'shop1',
            component: () => import(/* webpackChunkName: 'breadcrumb_example' */ '@/views/shop/shopList'),
            meta: {
                title: '商品列表'
            }
        },
        {
            path: 'goods/add',
            name: 'shop2',
            component: () => import(/* webpackChunkName: 'breadcrumb_example' */ '@/views/shop/addShop.vue'),
            meta: {
                title: '商品添加'
            }
        },
        {
            path: 'shop2',
            name: 'shop2',
            component: () => import(/* webpackChunkName: 'breadcrumb_example' */ '@/views/shop/canshu'),
            meta: {
                title: '分类参数'
            }
        },
        {
            path: 'shop3',
            name: 'shop3',
            component: () => import(/* webpackChunkName: 'breadcrumb_example' */ '@/views/shop/fenlei'),
            meta: {
                title: '商品分类'
            }
        }
    ]
}
